
<template>
  <!-- // 发布公告 -->
  <div>
    <!-- 卡片 -->
    <el-card>
      <!-- 标题 -->
      <div slot="header" class="clearfix">
        <div class="clearfix_left" @click="handleBack">
          <i class="el-icon-arrow-left"></i>
          <h3>返回</h3>
        </div>
      </div>
      <!-- 公告内容 -->
      <div class="contain">公告内容</div>
      <el-form ref="form" :model="annouceForm" class="announceform" label-width="100px">
        <el-form-item class="announce_con" label="发布内容:">
          <div class="issue">
            <div class="annoumnce_contain">
              <Uediter></Uediter>
            </div>
          </div>
        </el-form-item>
        <el-form-item label="支持语言:">
          <el-input v-model="annouceForm.name"></el-input>
        </el-form-item>
        <el-form-item label="发布时间:">
          <el-input v-model="annouceForm.name"></el-input>
        </el-form-item>
        <el-button>保存</el-button>
      </el-form>
      <!-- 发布内容 -->
    </el-card>
  </div>
</template>

<script>

  import Uediter from '@/components/ue.vue'
export default {
  
  components:{
    Uediter
  },
  data() {
    return {
      annouceForm: {
        name: ""
      },
      dat: {
          content: ''
        },
        ueditor: {
          value: '编辑器默认文字',
          config: {}
        }

    };
    
  },
  methods: {
    handleBack() {
      this.$router.go(-1)
    },
      returnContent () {
        this.dat.content = this.$refs.ue.getUEContent()
        console.log(this.dat.content)
      }
    }

};
</script>


<style  scoped>
.contain {
  height: 26px;
  border-left: 4px solid #3f51b5;
  padding-left: 10px;
  color: #212121;
  margin-left: 80px;

  font-size: 20px;
  color: #212121;
}
.clearfix_left i {
  margin-right: 12px;
}
.issue span {
  font-size: 18px;
  color: #212121;
}
.announceform {
  margin-top: 20px;
  margin-left: 54px;
}
.announce_con {
  /* float: left; */
  font-size: 18px;
}
.annoumnce_contain {
  width: 987px;
  height: 513px;
}
.announce_con .el-form-item__label {
  color: #212121;
  font-size: 18px;
}
.announceform .el-input {
  width: 160px;
  height: 36px;
}
.announceform .el-button {
  width: 200px;
height: 50px;
background: #3f51b5;
border-radius: 5px;
font-size: 24px;
color: #fff;
}

</style>